﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class CustomerToGDYDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CustomerToGDYRequestDto
    {
        /// <summary>
        /// 描述 : 操作类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "Operation_type")]
        public string Operation_type { get; set; }

        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customerName")]
        public string customerName { get; set; }

        /// <summary>
        /// 描述 : 税号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "creditCode")]
        public string creditCode { get; set; }

        /// <summary>
        /// 描述 : 客户编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }
    }


    public class CustomerToGDY_RequestDto
    {
        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customerName")]
        public string customerName { get; set; }

        /// <summary>
        /// 描述 : 税号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "creditCode")]
        public string creditCode { get; set; }

        /// <summary>
        /// 描述 : 客户编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 区域 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "belong")]
        public string belong { get; set; }

        /// <summary>
        /// 描述 : 收货方类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customerType")]
        public string customerType { get; set; }
    }

    public class CustomerToGDY_ResponseDto
    {
        /// <summary>
        /// 描述 : 状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public int status { get; set; }

        /// <summary>
        /// 描述 : 返回信息 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }
    }




    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CustomerToGDYResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
